{% extends 'common/base.html' %}

{% block title %}个人信息{% endblock %}

{% block page_content %}
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <b>个人头像</b>
            <br>
            <img src="{{ url_for('static',filename='upload/'+current_user.icon) }}" alt=""
                 style="width: 100px;height: 100px">
            <br>
            <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" class="form-control" id="username" readonly value="{{ current_user.username }}">
            </div>
            <div class="form-group">
                <label for="email">邮箱</label>
                <input type="text" class="form-control" id="email" readonly value="{{ current_user.email }}">
            </div>
        </div>
        <div class="col-md-1"></div>
    </div>

{% endblock %}